package DBLayer;

import java.util.ArrayList;

public interface IFDBLocation {
	public ArrayList<Object[]> getAllLocations();
	public ArrayList<Object[]> getAllLocations_byPostalCode(String postS);
	public ArrayList<Object[]> getAllLocations_byCity(String cityS);
	public ArrayList<Object[]> getAllLocations_byCountry(String countryS);
	public Object[] getLocation(int locationId);
	
	public int insert(String postalCode, String city, String country);
	public int update(Object[] location);
	public int delete(int locationId);
	Object[] getLocation_byCity(String city);
	Object[] getLocation_byPostalCode(String postalCode);
}
